Optimal. Leaf size=54 \[ \frac {b x^2}{8 c^3}+\frac {b x^6}{24 c}-\frac {b \tanh ^{-1}\left (c x^2\right )}{8 c^4}+\frac {1}{8} x^8 \left (a+b \tanh ^{-1}\left (c x^2\right )\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {6037, 281, 308,
212} \begin {gather*} \frac {1}{8} x^8 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )-\frac {b \tanh ^{-1}\left (c x^2\right )}{8 c^4}+\frac {b x^2}{8 c^3}+\frac {b x^6}{24 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 281
Rule 308
Rule 6037
Rubi steps
\begin {align*} \int x^7 \left (a+b \tanh ^{-1}\left (c x^2\right )\right ) \, dx &=\frac {1}{8} x^8 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )-\frac {1}{4} (b c) \int \frac {x^9}{1-c^2 x^4} \, dx\\ &=\frac {1}{8} x^8 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )-\frac {1}{8} (b c) \text {Subst}\left (\int \frac {x^4}{1-c^2 x^2} \, dx,x,x^2\right )\\ &=\frac {1}{8} x^8 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )-\frac {1}{8} (b c) \text {Subst}\left (\int \left (-\frac {1}{c^4}-\frac {x^2}{c^2}+\frac {1}{c^4 \left (1-c^2 x^2\right )}\right ) \, dx,x,x^2\right )\\ &=\frac {b x^2}{8 c^3}+\frac {b x^6}{24 c}+\frac {1}{8} x^8 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )-\frac {b \text {Subst}\left (\int \frac {1}{1-c^2 x^2} \, dx,x,x^2\right )}{8 c^3}\\ &=\frac {b x^2}{8 c^3}+\frac {b x^6}{24 c}-\frac {b \tanh ^{-1}\left (c x^2\right )}{8 c^4}+\frac {1}{8} x^8 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 78, normalized size = 1.44 \begin {gather*} \frac {b x^2}{8 c^3}+\frac {b x^6}{24 c}+\frac {a x^8}{8}+\frac {1}{8} b x^8 \tanh ^{-1}\left (c x^2\right )+\frac {b \log \left (1-c x^2\right )}{16 c^4}-\frac {b \log \left (1+c x^2\right )}{16 c^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 66, normalized size = 1.22
method | result | size |
default | \(\frac {x^{8} a}{8}+\frac {b \,x^{8} \arctanh \left (c \,x^{2}\right )}{8}+\frac {b \,x^{6}}{24 c}+\frac {b \,x^{2}}{8 c^{3}}+\frac {b \ln \left (c \,x^{2}-1\right )}{16 c^{4}}-\frac {b \ln \left (c \,x^{2}+1\right )}{16 c^{4}}\) | \(66\) |
risch | \(\frac {x^{8} b \ln \left (c \,x^{2}+1\right )}{16}-\frac {x^{8} b \ln \left (-c \,x^{2}+1\right )}{16}+\frac {x^{8} a}{8}+\frac {b \,x^{6}}{24 c}+\frac {b \,x^{2}}{8 c^{3}}-\frac {b \ln \left (c \,x^{2}+1\right )}{16 c^{4}}+\frac {b \ln \left (c \,x^{2}-1\right )}{16 c^{4}}\) | \(83\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 69, normalized size = 1.28 \begin {gather*} \frac {1}{8} \, a x^{8} + \frac {1}{48} \, {\left (6 \, x^{8} \operatorname {artanh}\left (c x^{2}\right ) + c {\left (\frac {2 \, {\left (c^{2} x^{6} + 3 \, x^{2}\right )}}{c^{4}} - \frac {3 \, \log \left (c x^{2} + 1\right )}{c^{5}} + \frac {3 \, \log \left (c x^{2} - 1\right )}{c^{5}}\right )}\right )} b \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 64, normalized size = 1.19 \begin {gather*} \frac {6 \, a c^{4} x^{8} + 2 \, b c^{3} x^{6} + 6 \, b c x^{2} + 3 \, {\left (b c^{4} x^{8} - b\right )} \log \left (-\frac {c x^{2} + 1}{c x^{2} - 1}\right )}{48 \, c^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 7.60, size = 58, normalized size = 1.07 \begin {gather*} \begin {cases} \frac {a x^{8}}{8} + \frac {b x^{8} \operatorname {atanh}{\left (c x^{2} \right )}}{8} + \frac {b x^{6}}{24 c} + \frac {b x^{2}}{8 c^{3}} - \frac {b \operatorname {atanh}{\left (c x^{2} \right )}}{8 c^{4}} & \text {for}\: c \neq 0 \\\frac {a x^{8}}{8} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 78, normalized size = 1.44 \begin {gather*} \frac {1}{16} \, b x^{8} \log \left (-\frac {c x^{2} + 1}{c x^{2} - 1}\right ) + \frac {1}{8} \, a x^{8} + \frac {b x^{6}}{24 \, c} + \frac {b x^{2}}{8 \, c^{3}} - \frac {b \log \left (c x^{2} + 1\right )}{16 \, c^{4}} + \frac {b \log \left (c x^{2} - 1\right )}{16 \, c^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.06, size = 69, normalized size = 1.28 \begin {gather*} \frac {a\,x^8}{8}+\frac {b\,x^2}{8\,c^3}+\frac {b\,x^6}{24\,c}+\frac {b\,x^8\,\ln \left (c\,x^2+1\right )}{16}-\frac {b\,x^8\,\ln \left (1-c\,x^2\right )}{16}+\frac {b\,\mathrm {atan}\left (c\,x^2\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{8\,c^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________